﻿@model TCM.PLacementGrade

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>PLacementGrade</legend>

        @Html.HiddenFor(model => model.ID)
<ol>
        <li class="editor-label">
            @Html.LabelFor(model => model.SubjectID, "Subject")
        
            @Html.DropDownList("SubjectID", String.Empty)
            @Html.ValidationMessageFor(model => model.SubjectID)
        </li>

        <li class="editor-label">
            @Html.LabelFor(model => model.Value)
       
            @Html.EditorFor(model => model.Value)
            @Html.ValidationMessageFor(model => model.Value)
        </li>

        <li class="editor-label">
            @Html.LabelFor(model => model.LevelID, "Level")
       
            @Html.DropDownList("LevelID", String.Empty)
            @Html.ValidationMessageFor(model => model.LevelID)
        </li>
    </ol>
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
